<?php

namespace app\home\controller;

use think\Collection;
use think\Controller;

class ClubIndex extends Base
{
    //商家主页
    public function index($id)
    {
        //$id

        $list = \app\common\model\Club::find($id);

        $detail = \app\common\model\ClubBusiness::where('pid',$id)->select();

        $list['goods_images'] = [];

        return view('index', ['list' => $list,'detail' => $detail]);
    }
}
